complete conversion set_bit() -> __cpumask_set_cpu() by 4aaca0e9cd
authorJan Beulich <jbeulich@suse.com>
Fri, 27 Feb 2015 15:09:27 +0000 (16:09 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 27 Feb 2015 15:09:27 +0000 (16:09 +0100)
commit5dbdf33c57e3c95125b92f86d847ed8432e28f1c
treeaeb6fd36bc7d730598d4658280943d85d4b2bb65
parenta7721bee28d7a130abd0e316da64a6c995130cee
complete conversion set_bit() -> __cpumask_set_cpu() by 4aaca0e9cd

While converting to __cpumask_set_cpu() was correct, the first argument
passed should have been corrected to be "cpu" instead of "nr" at once.
The wrong construct results in problems on systems with relatively few
CPUs.

Reported-by: Sander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citirx.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/common/softirq.c